Skip to content

Add the ability to run and upload with PlatformIO and add a build test#39

Open
miles-p wants to merge 13 commits intomainfrom
punch/move_to_platformio
Open

Add the ability to run and upload with PlatformIO and add a build test#39
miles-p wants to merge 13 commits intomainfrom
punch/move_to_platformio

Conversation

@miles-p
Copy link
Copy Markdown
Contributor

@miles-p miles-p commented Apr 14, 2026

For the uninitiated: https://platformio.org/

Simultaneously working in VSCode and STM32CubeIDE was annoying me, so I added the required files to use a brilliant VS-Code extension called PlatformIO which essentially acts as CubeIDE within VSCode (yes I know there's an STM extension for VSCode, don't @ me). PlatformIO exposes a one click compile and upload button, is brilliantly cross-platform, and is set up for embedded STM32 projects like NUSense. Note: should you want to, you can absolutely still use STM32CubeIDE like before - this is an additional tool on the side.

I've tested that this compiles and uploads onto the NUSense using an ST-Link V2.

Using a nice little tool that handles uploads and builds also means that we can write a build test for every commit, which is what I've put in here.

This will come with a NUbook entry when I get around to it.

@miles-p miles-p requested a review from Claegtun April 14, 2026 23:35
@miles-p
Copy link
Copy Markdown
Contributor Author

miles-p commented Apr 20, 2026

@Claegtun this should be good to review now. build test builds and a version has been tested on NUSense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant